﻿using System;
using System.Collections.Generic;
using System.Text;
using XISoft.AppCreator.TplEngine.ITpl;


namespace XISoft.AppCreator.TplEngine.XITpl
{
    public class XIEntity:IBaseEntity
    {

        #region IBaseEntity 成员

        private List<IBaseProperty> propertyList;
        private List<IBaseMethod> methodList;
        private string entityName;
        private IBaseProperty primaryKey;
        public IBaseProperty PrimaryKey
        {
            get
            {
                return primaryKey;
            }
            set
            {
                primaryKey = value;
            }
        }

        public List<IBaseProperty> PropertyList
        {
            get
            {
                return propertyList;
            }
            set
            {
                propertyList = value;
            }
        }

        public List<IBaseMethod> MethodList
        {
            get
            {
                return methodList;
            }
            set
            {
                methodList = value;
            }
        }

        public string EntityName
        {
            get
            {
                return entityName;
            }
            set
            {
                entityName = value;
            }
        }

        #endregion
    }
}
